Fix for unexpected alert error

Automatically dismisses any pending alert when trying to discover
the presence of jQuery in the browser.

Also passes in --disable-extensions to prevent the developer mode
alert from displaying in Chrome in some cases when using Chrome 38
or higher.
Merge pull request #17 from wmeints/issue-16

Fix for unexpected alert error