moved tiles into separate js file
tidied up index.html, main.js
in grid.js, created tile from content.js