fix number delimiter js func.