[UI][JS] Improved performances at JS side, too many listeners were set