Render single-page applications on the server using Sinatra and Celerity