made javascript external;merged update_book with book
Merge pull request #2 from AdyCastEX/update2-21-14

made javascript external;merged update_book with book