Removed alert and added DOM element instead