Changed CSS formatting. Refactored JavaScript.