change javascript next book url bug