js update - infinity in it