updated cleanup method
removed sandbox el check
updated cleanup condition
Merge pull request #2 from massiveart/bugfix/js-memory-leak-hunting

updated cleanup method