base: Add common javascript for emailprotect removal