WIP to get pattern images loading and showing on IE10.
Make pattern loading work on IE10.
Attaching patterns to a display:none div in the DOM was causing IE10 to set the image width to 0,
preventing us from drawing it onto the canvas.
Code review feedback.
Fix braces.
Merge pull request #491 from code-dot-org/patternie

Make pattern loading work on IE10.