refactored Book view, controller and JSONModel