Removed alert(); calling.