minor tweaks for faster dom updates.