JAL-4059 Fix an incorrectly applied change of method for JalviewJS