js for dynamic lists of projects on billing tab working -- but would like to change api view to return json instead of html