updated js script & minifier