fixed close js in common.js

also made the site point to the minified version