Check out this video on setting up and using the AlertifyJS library. I created this video as part of a series for Webucator.