Update weakmap.js