Changed from queryDB to jsonQuery
Global variables reduction
Temporarily added global variables

It is mainly to make it easy to read and until Johan is done with the
documentation.
Started to make it possible to change literals and predicates.
Currently predicates works as it should.
Started adding the possibility to change literal and literal value
Merge branch 'javascript_interactive'