Fixes for firefox, gulpfile