Fixed javascript compress
Merge pull request #1028 from xingsenma/other

Fixed javascript compress