Update consecutive.js