Prueba con esto, se le cambia el `toLocaleString` al numero

<!-- begin snippet: js hide: false console: true babel: false -->

<!-- language: lang-js -->

    $('.numero').each(function(i, obj) {
      var number = parseFloat(obj.value);
      $(this).val("$"+number.toLocaleString(['ban', 'id']));
    });

<!-- language: lang-html -->

    <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
    <input class="numero" value="5000.78"></span>


<!-- end snippet -->