Cleaning output from program for web