Use img instead of canvas
Use tiler from https://github.com/borbit/tiler