A modular javascript plugin boilerplate