Rails middleware gem for prerendering javascript rendered pages on the fly for SEO