fixing ie issue with toString.call