Full simplification of the javascript generator
Revert Text/Hamlet and move the new stuff to its own file.
Produce argument names for the generated javascript function.