using DOM native selectors to make code more portable and performant