fixes #7 'delete' not allowed as identifier in IE7/8
Using ['delete'] instead of .delete for IE7/8 compatibility.