replace js lib by minified version