CON-1809 | Fix overlapping of anchored element

consider using named functions example:
``` JS
function init() {
     // function body
}
```

They are much easier for debugging