Added saving generated JS.