switch to classname style, can cause issues otherwise due to funky nature of class keyword in js