Updated send notification invokation with ajax call