fixed js join delimeter