JS functions to the end of a page
code example didn't wark proper. added stopPropagation to event
code example didn't wark proper. added stopPropagation to event
Add support for JSON

In addition to the MySQL and XML code, it now lets the user generate
JSON code too.
Merge pull request #4 from abhishekbhardwaj/master

Adds support for JSON.
merged json feature