notification js class is improved