Add xscan.js