Update pure.js