Helpers for class styling

Implement our own helpers for getting and setting class styles instead
of using jquery functions, since we are getting rid of jquery