A little Javascript object to notify custom messages