more apocrypha.js work