Fix for strange Date behavior in Node Webkit