Set Budget Function now also takes in floating numbers

Change parseInt() to parseFloat() so that the function also takes in
numbers with decimals;
Also optimize the functionality of budget.js file