Fixed issue when applying script on a navigation link that already been applied.
Fixed error when applying the script to elements that already been applied.
Added support to Internet Explorer 11.