Added JSON script to the repo.
Added function to capture data from the form.