JS for equaliser done