class.js added