cleaned up html and css and javascript to be more modular