api and JS to update project funding percentages automatically.

paired on the JS with my buddy @zackferraro.
This is returning a float in one case and a string in the other. Maybe it should just be `0` if no goal?