Use jquery for mouseenter/leave event to avoid digest cycle
Remove components when not useful
Optimize use of debounce functions
Merge pull request #1865 from geoadmin/dev_optimize

Dev optimize