updated passbooks.js