source form edit now working (still need to take javascript out of view and into js file)