Adding support for reopening without download scripts

Fixed pull request that avoids jquery for reopening the reading pane.