Clean up and documentation: ready moving js-local-(vcf|bam) to use this