Fetch Get Javascript Stack Overflow Error On Recursion In Python