organizing client side javascript
got rid of app.configure