don't add "hasPlaceholder" class to elements without placeholder attribute