fix markup syntax err and enable minified js