Altered date so JS changes to string, allowing table to sort on epoch value