Updating IE driver to use correct parameter in message loop for executing asynchronous JavaScript.

Fixes issue #5137.