Javascript Bibtex to JSON for nodejs and the browser