added js for closing alert