Fix documentation about navigation events fired by the JS API.