Fix Window.confirm() not working
Add default values for alert, confirm, and prompt