Fixes dir attribute for the extension

Regressed when we updated to new webL10n (stops with exception when firebug is used)