clean up Class.js