Add support for Component.js

As discussed in #85.