added canvas html tag instead of creating it with javascript