Dont need to do a recursive get. Fixed minor js error