Begin implementing client-side page generator in JS.