Inputs in scripting app (and other Javascript features)

In the scripting app (Javascript), is it possible to include some input mechanisms such as text fields, buttons, radio buttons, checkboxes, etc? It doesn’t seem as though it it possible to append these HTML elements to the output. In addition, it would be great to allow for setting CSS styles in the output. I am using self-hosted version.