IE8 throw error on delete

IE8 throw error on delete
Merge pull request #3 from shamilahmed/master

IE8 throw error on delete