added js

added js for form and cs