Tweaked javascript, creacreated json output with ajax call
Merge pull request #2 from samfeldman/master

Final merge