fix lint warnings

most of these warnings were related to comments and underscores in
function or var names.  This change makes no breaking changes, since
none of the named functions were being exported.
Merge pull request #3 from willnorris/lint

fix lint warnings