Fixes for Notify sample to match docs and correct JavaScript