Added js callback for 'running app' notifications

Not tested with multiple views