Update javascript strtotime