Updated mock_app.js to do stuff with dependencies