fix date comparisions in javascript
Merge branch 'master' of github.com:Fortisque/anappleaday