Improved the field lookup pattern with autocomplete js, fixed #457