[HTML5] Expose Tiles and Tilemaps and return current canvas size.