The jQuery functions and ajax calls made by the browser to the chat server

This file contains all the requests made by the client to the chat server. It is coded in jQuery.