changing over canvas to pure javascript html5 and also added idea of fetch ResponseType for WebClient