Davetest

For review of apps.js
Food for thought: we might want to use a more reliable date-time lib such as [Joda time](http://www.joda.org/joda-time/)