Update class.js

just add some complaint ...