update masket js