corrected scripts.js to account for number in millions with no hundred thousands place