Remove Extra Spaces From String Javascript