migrate fire.js from master rev c8855262...