made jshint happy by adding missing semicolons, DI global libraries, adding 'use strict', etc.