added simple js alert and prompt