check circular js dep