Tile server index.html don't use layer tag as JS variable name but a serial instead.
Fix error when layer tag contains non alphanum char.