Update socket.io.js to support Chrome Apps