added jQuery and styling to flash message