Some cad.js setup