Initial changes to field.js file