First pass to cleanup admin.js
Change jquery.on style
Cleanup dashboard, extensions and licence js
Merge branch 'develop' into js-cleanup

Conflicts:
	ui/admin.js
Merge branch 'develop' into js-cleanup
Merge pull request #504 from x-team/js-cleanup

JS cleanup