remove require() by using concatenated main.js for firefox