added javascript line that prevented document live form from being updat...

...ed