Update alert.js

Added call to remove() after event fires to clean up data as per discussion at #12379