I'm curious, I'm looking in to building an offline mapping app (cycling route planning) I'd love to build it as a html5 app that can be both online and offline, so I'd like to find out if there are any implementations of vector routing using JS instead of server based web services? I already vector sets of the map data needed.