Switched JS class on to HTML