move the `text(String)` function into `html.dart` library