fix import.js for FireFox