Port firefox compatibility update to coffeescript