Basic book viewing ability added.
Javascript for getting text selection indices added