working debug version of ycf.js