handle test output for javascript compile errors