Fixes some minor errors in TileStreamSource.js