Updating canvas dimensions in index.html