Number(starttime...) was returning NaN, let's see why