Added feature detection elements, including the UA detection and on top of that the corrections that will be taken in the lib