Merge "Made the profilers that output text not break js."