Add gg.js fix for Firefox