XPI: Make style changes to main.js workaround

We should be able to remove this workaround soon, but we'd have to bump the minimum Firefox version to 30.