build script produces a broken bibtex.js automagically