cleanup of uneeded js
Added autocomputing of minimum zoom level (thanks sabas and emmexx)