Conforming code to jshint.