Bootstrap 3.0.0 compatibility fix

Bootstrap 3.0.0 requires alert to a type specified.
Merge pull request #32 from Im0rtality/master

Bootstrap 3.0.0 compatibility fix