XRP total in working versioni and JSLinted
fully cleaned up and working version with package.json, etc