router for pave.js