Reference and build from router/router.js and remove amd