A javascript-based ePub builder