Added to library.js, the openDirections() function