added comments to javascript, dryed up CSS