Add optimization to educational in-browser cps transform