Adding javascript sample
Cleanup

Changing method docs into JsDoc, and renaming mapCreate to createMap.
More tidyup

- Replaced the JS callback handler in HTML with a click handler
attached in the JS
- Replaced the insecure HTML creation with safe jQuery construction
- Took out the space in anonymous function decls
Merge pull request #13 from domesticmouse/master

Adding javascript sample