Add moment.js to get decent UTC time handling
Switch date stamping things to use moment.utc().valueOf() instead of Date.UTC() because the latter doesn't work how I thought it did
JSHint tidy ups