Update flagstone.js