Condensed CSS and added quotes to HTML attributes in JS