Changing SQL queries to prepared statements, first steps.
Changing SQL queries to prepared statements, first steps.
Restore pg to javascript bindings.
Code cleanup. Some dependencies with jugglingdb still need to be fixed.