If you're on circulation.pl but have not brought up a patron record you'll get a JavaScript error. The page is trying to do a check based on [% borrowernumber %] and trips a JS error if [% borrowernumber %] is not there.
Created attachment 3983 [details] [review] Proposed fix
Pushed please test
Works in 3.4