config.options.template instead of config.template
Handle arrays passed in renderSelector.
Removed module wrapping
Updated README