bookblock for product done using js