add "use strict" and begin to make jshint validation passing