jquery.min added
connection for socket modified