update wetness.js to use trim instead of regexp all over the place, we centrailize
update to start cleaning up the code so that maybe we can make this an npm module