js notifications order