Add deletebook functionality

Added delete ad function, hooked it up to a javascript button in current
basic display, extracted javascript to own file