MOdify add submit javascript