created javascript and helper for book module