Fixing error reported by jshint