add release script; fix minification bug