fix typos in generated code and proper styling support (reset CSS)