moved socket and jquery to local
removed unnecessary loading script