Began work on Ajax implementation (Need Help)

Issue with finding good methods to connect between server and client
ajax ends