fixed a js bug related to minification