Adds GraphHopper API for JavaScript