Bug 14266: Replace trim() with $.trim() in opac-shareshelf.tt