Added check so that the alert won't fire in the browser.
Added check so that the alert won't fire in the browser.

Thanks for letting me know about this, @molily.

mrb/chaplin,mrb/chaplin,Everlane/chaplin,EverFi/chaplin,Everlane/chaplin,EverFi/chaplin,cvd/chaplin,akre54/chaplin,cvd/chaplin