added some generics parameters
SelectFunction selects only on <select> elements - closes #15