jquery did not work probably because of cross-domain scripting restrictions
the server is now responsible for the Query GUI as weel