This one is a bit hard to read. What do you think of doing something similar to this?

https://github.com/duckduckgo/zeroclickinfo-spice/blob/master/share/spice/book/book.js#L14