fix(particles): improve js