Beginning work on JS

Starting save function for form page.