jquery dependency cleaned up

writed own functions:
- extend
- each
- isFunction