fixed: non-js and js download methods based on the same data map.