added support for pre-rendered selects #48