cleaned up JS functionality
Merge pull request #3 from Gloryofthe80s/html-css

cleaned up JS functionality