Js Fill Empty Array Php Format Currency