Add JS class.