dfs js