CON-1809 | Fix overlapping of anchored element

could you separate function / variables declaration from execution phase (which is on jQuery DOM ready)? For example:

``` JS
// variables 
var a,
        b,
        c;

// functions
function d() {}
function e() {}

$(function () {
        //..... execution phase
        //..... event bindings
        //...... etc.
});
```