Move join_html_output.rb to app/middleware/