Update object.class.js

fixed typo