Update for firefox 29.0

Brings in the changes from the Mozilla team and puts in fixes to deal with their new way of loading scripts.