added Particles.getParticleProperties() to JS