Fixes to overdrive holds and checkouts for NextGen interface in javasript