Some fixes for time zone / pixel precision dependent JS specs

Removes formatTime function from WorkfileContentDetails in favor of moment's formatter
Increases pixel leniency in axes spec