Adds notifications dispatcher JS with event handling stubs #264.