Fix issue when losing connection from socket
update sass for responsive for form search and write js connect to server