trying ternary operator to define canvas for IE 8
refining janky canvas definition for IE 8