A lot of work towards downloads in JS.