Submap is a project mainly written in JavaScript, it's free.
submap tools
a few tools made during the (submap project)[http://submap.kibu.hu/]