modify jshint config: eqeqeq
revise some code that reported error by jshint