passing a webelement into execute script needs the element id translated through the known elements

i really don't like this change in particular (doesn't feel clean), but it works...