Takes JavaScript code, along with a config and returns the original code with tokens wrapped as configured.