added JS notification framework