alerts for flash message and jquery import