Example of generating client-side only JavaScript.