add wndx.js script to DOM in callback