Updated npm pg package version

Also some syntactic updates and updated version number in smart.json :santa: