An easy way to work with page rendering, via JavaScript.