add closeAfter attr to alert
fix js warnings
Merge remote-tracking branch 'github/pr/120'
feat(alert): refactor support for close-after attr (fixes #120)