fix publications.js