Update app.js

im my node v 0.10.25 ocurred erros to run this code.
Att.
Merge pull request #2 from felipemarques/patch-1

Update app.js - thank you!