Making headless client more majure.

+ Moved jQuery stuff to extra file (jQlone)
+ jQuery ajax dereffer will also return values to callback functions (fix future bugs)
+ Cleaned code a little
...