UVs for bezier surface

hello, how can i make an image cover the whole surface? I cant get it to work
I m setting faceVertexUvs in line 185, and then adding them to the geometry, but it snot working

It seems the codepen has a runtime error:

Uncaught SyntaxError: Unexpected token ‘}’

Thanks for the answer. I solved it.