jquery doesn't allow input types to be changed