changed one line for esthetics..
migrated extended tooltips for kgs
unnecessary extend option removed
moved the js for cleanup and added a document.ready just in case...
Merge pull request #337 from geoadmin/mig_ext_tooltips_kgs

Mig ext tooltips kgs