Fixing jqeury selects for input fields