removing @javascript and @firefox tags where not needed