Added .js for offline tiles from other git, not working yet.
Refactored code.
Moved resize map to 'app'
set min height for map so shows up before resize trigger.