     @outOfOffice["officeOpenHour"] < @outOfOffice["officeCloseHour"]
 
   officeTimestamp: ->
-    if window.moment
+    if @outOfOffice["timezone"]? and momentTzLoaded()
       moment().tz(@outOfOffice["timezone"]).valueOf()
     else
       utcDate().getTime()

    now = new Date()
    new Date now.getTime() + now.getTimezoneOffset() * 60000

  deepMerge = (target, source) ->
    destination = {}


    hour = @outOfOffice[hourOptionKey]
    advanceDay = hourOptionKey == "officeCloseHour" && @officeHoursOverlapDays()

    if @outOfOffice["timezone"]? and momentTzLoaded()
      day = moment().tz(@outOfOffice["timezone"]).startOf("day").add hour, "h"
      day.add(1, "d") if advanceDay
      day.valueOf()
