attempt to patch elt.onclick
add index