Added more finds to code.js to narrow down what is happening inside the callback of the insert.  Bad things apparently.