Pre: tile upgrade

Cleaner mark up, and JS is extensible for multiple devices.