Looking at the headlines in the <head> and <body> elements, we can see that the actual script for the Flextable is probably in node #1, and that this script gets called in node #2.