Fixed socket.io script not loading problem

-socket.io is attached correctly to the express app
-un-commented static javascripts in header.ejs
-added init function in post.js route to initialize socket.io