Fix in generator: require curat js