[BZ 1129294] [BZ 1128782] Change destroy() to markForDestroy() to avoid possible Global Uncaught exceptions..