Replaced dart:io for dart:html

Using HTTPRequest instead of serverside file IO