Add close functionality for alert box

Currently the flash alert box uses Twitter Bootstrap to close the
message notification. This script replaces that functionality as TB
isn't used elsewhere currently, so the scripts can be removed.