Fix tests so they pass on TravisCI

Referencing the timezone in the specs is flawed because TravisCI runs 
in a different timezone than my machine.

Extract a helper method for formatting times and dates.
Cleanup some jslint warnings
Bump version 1.1.1