applying pull request to minified version