refined js for bibtex