Fixed error with [Add Field] and removed JS logging in main.js