added use strict to js files