Work around a crash bug in Firefox 27.

Fixes #1869
Fix typo.
Remove XPCOM component interface.

Declaring an interface isn't actually required for services that will
only be accessed from JS.