Ensure require.js is copied/minified ...

... and properly referenced
Fix jshint warnings