add the alert and affix js about bootstrap