Written a very easy ajax callback function between JS client and PL server.