added some JS

I've added some java script, so that book details will we shown on a
click.