added js to form