1
This is surely already a problem:
requirejs(['jquery', 'jquery-ui', 'bootstrap', 'plugins/chosen'],
function($, chosen){
...
You want to load plugin chosen, but in fact it is jquery-ui. Since you don't use it, remove the parameter (but not from the array).
I suspect your plugin plugins/chosen...