update(routie.js): convert to commonJS module