adding strict, and follows jshint rules