Davetest

For review of apps.js
@davras you may want to have all the string URLs as [javascript constants](https://google-styleguide.googlecode.com/svn/trunk/javascriptguide.xml#Constants)