configured and modified to work with node.js app

for real time stuffs