Fix typos in fieldHelpers.js, fixes #367