Added keyup and Alerts
Added alerts and keyup