Apple js update