Replace Space With Comma Javascript