Compare against calc'ed value instead of magic constant
Add in local storage and the moment date/time library.

Slowly making the switch to moment...