build-cs only printed javascript code to stdout but did not saved it to a file