[Javascript Part 1]: Added ReplaceNonBreakingSpaces