fixes #30: changed javascript to pass search string directly to the tabs view