Update client.js

Modified hard-coded BG thresholds (personal use - interested in developing user-definable enhancement)