Fix a javascript error on Webkit browsers. fix #122
Changing the number of book per pages changed the search with multiple database. Reported by At-Libitum. fix #124
Forgot a bit of the last commit. re #124
Merge pull request #7 from seblucas/master

mergin in latest updates to original COPS