Small cleanup
Add example of message handler with separate Javascript file