reordered JS so setCSS() loads first and buttons press after