[js] Minor change