This version is old school.
Please find jQuery plugins on npm.
wHumanMsg jQuery Plugin
by Websanova
A jQuery humanized message plugin is a way to neatly overlay alerts and message for users using your app. You can position your messages on any part of the screen and they will neatly fade in and out with any color and time delay you like.