Allocated budget expenditures javascript code into separate file.