67 - set class server side and simplify js accordingly