fix remove script in minified file