Fix firefox problem in minified js