Add var statement to formattedDate variable.
Add var statement to formattedDate variable.

Was experiencing an issue on io.js with --use_strict that was causing this line to error. Adding the var statement should fix the problem.
squeeks/glossy