Split String Into Substrings Javascript Format Number As Currency