Changes to cip.js