Here you find some code examples for how to write reusable components in jQuery and other good practices. Run gulp to see the examples in action. (very much work in progress)