Improved Authorization
added use strict to js files