Complete rebuild of everything, this time without jquery. Just simple connection and canvas, nothing more