Adding the form.js from CiaD2 repo