Generate required javascript per page

I think it’s this one: