Added basic functionality for "alert", "confirm", and "prompt" overriding the native javascript functions