separating html output from saving pretti table(p5)