Updated spec to pass jshint