- Lots and lots of changes...some include:
- Use global javascript vars for the HTML controls
- use document.domain to repost to the same domain
- update createAJAX() to newer version
- rename functions to be more clear
- use try-catches throughout code
- Make notes saved as JSON, where "notes" contains the actual notes

Change-Id: I48179eaa4be67572b1fe771dc09cf0225a0b45ad