Update app.js

im my node v 0.10.25 ocurred erros to run this code.
Att.