[js] Fix concatenation