updated eddy.js and fixed a submit problem