Update tile.js

Version 1