fixing the function error in the clips.js

fix in things