Check if global controller comes from script inserted in the HTML.