Replace all %s with + to be compatible with old JS interpreters.