removing the timeout for distance.js