Added new prompt and alert to script tag