added javascript to enable and disable transaction agreement fields