Fix issues jshint spotted