Fix an error on safari when using uglify on the file