Add classes and ids and refactor css for jquery interactivity