Fix Set Budget Function

Fix a problem with budget.js, now the input amount will show correctly;
Add a check for NaN errors;
Add a check for negative budget.