Particle emitter test in .js