Update closure.txt

added module.exports to public functions so I can use as node module