Update foundation.alert.js

fix on-the-fly alert
Merge pull request #3861 from littlexiang/master

Update foundation.alert.js