porting gene_summary js over to repo