Changing semantics, tag case and code strucuture

Changed tags to lowercase and to more semantic versions, updated CSS accordingly.
Moved JavaScripts and applying events into the JavaScript file.

Needed to deem it suitable to suggest to people for using to get started with Firefox OS.