remove js alerts in favor of text box