Looks like WebStorm over refactored... This fixes the invite friends feature and most likely fixes some other bits that call the Alerts module.