fix path to temp file
add socket.io to package.json and fix jade issue