updated to use json as transport, working well in FireFox and Chrome

Need to fix an issue with IE!
asdf