ADD: jQuery library and establish wensocket methods