(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