Update tile.js

initialize with 0