Modified to move mongoose stuff to htmlz.js.  Added some vars to output to screen and form.