- fix settimeout/setinterval syntax;
- add detach() jQuery fn