Made some small fixes.

Database now allows to query with get directly with an operator.
There was a silly error in the JS registry causing code put in it not to execute.