Recursion folded into final.js