Added js to the bookbuilder