Fixes js error when screen is too small to fit tiles

[finishes #68159382]
Add .env to cf and git ignore