Client JavaScript libraries restructure
Admin console logic wrapped in immediate function
Fixes for grunt jshint errors added