Fix ir.js for FF