fix js minification bug