Fixes coded by Gearoid for failing Mozilla Add Ons validation tests