Update flipcounter.js