clean up pkg
tests describing jslint
refactor to use bbresult