Minor  fixes according jshint warnings.