Fix js defaults for commands and reporters
Prevent the creation of view layers if they already exist.

Allos "save as html" to actually work.