Added ability to add alternative html and javascript.
Removed flags.