directionservice.js