added strict to the js files