pass the Element to the Proxy instead of id

saves a useless re-query on the js side