Updating JS url to match API