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.

Fixes #16