2nd update with CSS
refactored for errors
updated web.js