remove extra argument to extractInstanceAt

There seems to be an extra argument passed to this function, as extractInstanceAt only takes 1 arg (the index).
I ran tests/index.html before and after and it all looks good.