Revert "Update class.js"

This reverts commit d9b80ac3f4856629b61143c21e9f65adbe9c1233.