minor DOM enhancements