I would say you can cache all of these `instance._panel` calls to a variable with `var panel = instance._panel`;