Fixed a bug that blocked the Bookmarklet in IE

Fixed a bug whereby document.contains() cannot be used in some IE
browsers.

Replaced with (document.getElementById("element") === null)

Tidied some old un-used JS files out of the directory