change to use Addon SDK provided by Mozilla rather than old XUL method