Changes to main.js following juberti review; minor change to main.css