The following code snippet should replace the corresponding snippet in scripts.js:
// ======= Vehicle Price =========================================
$(function(){
var price,tprice=$(".tprice");
function numberWithCommas(x) {
return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
}
tprice.each(function(){
price = numberWithCommas($(this).text());
$(this).text(price);
});
});