(JS) animateCamera() does not  accept duration option as the second argument anymore, while it accepts as duration option of the cameraPosition.