Added support for clearing cookies.

Added support to call JavaScript.
Added detection of JavaScript libraries.
Added triggering of element if angular and jquery are detected.
Added support for span collection.
Added text method to base element.