Update isInternal function for IE
Merge pull request #25 from gguerrero/master

Update isInternal function for IE