Allow executeScript commands when a js alert box is showing