Renaming to more standard pattern
Splitting JS to its own file
standardizing html tags
reformatting HTML a bit
Closing a few open tags
minor reformatting
Merge pull request #1 from icbat/refactor

Refactor