added canvas resizing to main.js added canvas element to index.htnl