Moved class.js