Fixed classes page JS after AJAX class creation popup