importing socket.js

added to index.html