Add the missing `tools.js` in the `routing.js` and in the `edit.js`

Complete the pull request #796