update script to min.js