Should this be ``.replace(/replaceId/g, id)`` to prevent unexpected side effects? Currently, this will only replace the first instance of "replaceId"