add example of new particle edit JS api