Fixing jshint complains