updating javascript to use jarv.org