Get rid of dead code: `showErr` is not used any more
Make sure that the user defined module name is used in generated HTML