[#29] Fix Firefox bug with minified JS