Just a few changes in JavaScriptCompressor

Mainly just a test if it everything works like expected.

changes are: 

Removed while(true) and simplified the code a bit
Changed StringBuffer to StringBuilder because we dont need threadsafness here.