improved formatting
edited package.json
handled edge case of chapter separation where chapter number and name are not in the same array element from the start