Refactoring asynchronous execution of JavaScript in IE driver

This introduces a new method for executing JavaScript functions
asynchronously via a new thread. This centralizes the code used to execute
automation atoms that may cause an alert to display (like click or
submit).