html.lua small optimizations.