Fix form highlighting getElements reference