Check window.devicePixelRatio and scale canvas accordingly for Hi DPI screens (retina).
Merge pull request #35 from shkolnik/master

Automatically adjust to Hi DPI (Retina) Screens