Fixed jslint error
Added experimental buffering of tile