Fix bug with client-side data output.
Clean output js before generating site.