change type of input that the bindEvents js method is looking for