get JS working with capybara
built api for chapters
wrote javascript to load the chapters up