Resolving copy-paste issue for Firefox browser