Fixes syntax errors that my JavaScript linter caught. But more importantly, it adds total bytes of the torrent being downloaded, and calculates percent complete.
not using semicolons is a style choice and isn't considered an error by me :) if you wan't to re-submit this with only the 'percent downloaded' addition i'd merge it in
Fixes syntax errors that my JavaScript linter caught. But more importantly, it adds total bytes of the torrent being downloaded, and calculates percent complete.