Added prompt(), fixed alert().