refactor Prism::highlightElement