fix for web browsers
browser-based reference text sending