Removed handshake from test.html, modified format to json, modified syncmode to sync, modified requestmode to POST