Move import to the html.
Trim trailing spaces.