Initial comit of javascript getjson.

similar to the php version already committed.