jquery dependency cleaned up

Writed own functions:
- extend
- each
- isFunction