BTW, I didn't mean they necessarily used the actual Foxit code, but it was a starting point maybe reimplemented in JS.