Works like update_page
but wraps the generated JavaScript in a <script> tag. Use this to
include generated JavaScript in an ERb template. See <a
href="/rails/ActionView/Helpers/PrototypeHelper/JavaScriptGenerator">JavaScriptGenerator</a>
for more information.