A javascript notification component