Stetical changes of index.html and enforces to clean the canvas when loads a rom