Extract usage parsing to `usage.js`.

See #100.