Added TileLayout (AS and JS versions).
Added asdoc to TileLayout.