fix ie8 toString.call undefined

There was issue on ie8, after fix it seems to be working now on: ie8, chrome 33, firefox 24.3.