Upgrade sanscript.js
Add application logging