added javascript line that prevented document live form from being updated