Fix some HTML helper issues and update docs