@ohadlevy, I was going to put it in a separate commit in application.js, but then I decided to just include it in class_edit.js for now, since this is currently the only file that uses it.