Cleanup notification passthrough, formatting

When you call notify, it returns immediately.  It had
a flag for this, but the flag was already true.  Remove the flag.

Fix the formatting for functions and if statements to match
the Google javascript rules.