Updated keywords and functions for PostgreSQL 9.3. Added sub-mode support for JavaScript and Json.