updated the app to be able to run on node 0.10