Crudely patch around the deprecation of Mozilla's Components object.
Merge pull request #4 from kousu/master

Crudely patch around the deprecation of Mozilla's Components object.