0.26.3, use some native dom methods for better performance