refactore jq-window to support both directive and service access (WIP)
improve jq-common with usefull functions (WIP)