added dependencies, updated example app.js