updating to use jpm

main fix was to add ‘lib/’ to the main attribute of the package.json
file.  The rest of the fixes are white-space.