(Issue 3766) add local JS file content to widget content
follow up from review
keep auxiliary JavaScript files separate
Merge branch 'issue3766' of https://github.com/sathomas/3akai-ux into extrajs
remove extra JavaScript reference
Merge pull request #3766 from sathomas/issue3766

Detect the JS files that are being required inside of a widget JS file
Merge branch 'master' of https://github.com/oaeproject/3akai-ux into casperbootstrap