Changed one simbol:)
1. Replaced tile indexes functions to the layers.
2. Removed unused functions from utils.js
Scatter utils functions by scripts and remove it.