Problems with safari solved (required js -> moment js)