Filter HTML after running application, before sending to browser