remove inline javascript to 'json'
fixed race condition for genre
shelfing books