Fixed jslint errors.
Fixed a problem that broke html/speed.js that seems to have been caused by using === instead of ==, so fixed.
test_down_results are logged to the console at the end of the download test results. Will try to use this or similar to send back to server (for storing in database). Then, a similar thing for the upload tests.
Modified download algorithm to improve maximum speed (by reducing number of writes to 1). Logging of user-agent and client ip address.