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