Fix code style in index.html. TS warnings in core files