Cimmitted jj-navigation.js from @fennefoss