Fix compilation of client-js file to match new compiler structure.