Fix bug in build of router.js

The `default` export needs to be used when requiring the `router` module.

This addresses #100