fixed terms.js and repositioned data entry fields