added support for template and view rendering with selectize #13