Added numberFormat JS function.