Updated with an external js file, documentation and comments
Updated docs and added readme
Will now only use long-polling for testing on Azure