fix IE bug: .contains() only works for elements (not for document)
fix IE bug: .contains() only works for elements (not for document)

IE bug:
https://connect.microsoft.com/IE/feedback/details/780874/node-contains-i
s-incorrect

galambalazs/smoothscroll-for-websites