corrected scripts.js for numbers with no millions or thousands place