Update smooth.js