replacing javascript class with generic html class