Compile to js to remove cs dep for consumers.