Utilities for Javascript plug

This or just below would be a great place to define this useful "handler" concept you've come up with.