The problem seems to be with throws in line 5795 and 7917. Removing the line 5795 (and removing the ending , at line 5794) and && s.throws at line 7917 results in yuicompressor not throwing any errors.