fix references.js
formatting