Hello i am developing an advanced ebay store and listing and would like to use jquery with it. Now i want to stay well in ebays rules and use javascript that they have deamed safe. I know of 2 ways of bypassing there detection script to use code that they have banned but i dont want to do this and stick to the rules incase they see my listing and ban me or someone or a competitor reports me.

At present ebay has banned these functions - javascript (".cookie", "cookie(", "replace(", IFRAME, META, or includes), cookies or base href.
now the standard Jquery application has replace() all over it. My question is - is there another javascript function i could use in place of Replace() in jquery and i will just go through it and add the new function in place of Replace()? Or can i create a new function in pure javascript to replicate the replace() functionality

Kind regards