Fix to address change in FF22
https://bugzilla.mozilla.org/show_bug.cgi?id=785606