Dynamics of ocean jets over topography