more fcav.js implementation