Refactored the Edit Book view to partial update to enable the JS alert.