Added call to esri api
Readding javascript...
Addition of inital direction api use