updated file docs in js.