change /playproxy path to /portal (as prod) in JS