Provide default args for programmatic usage

Cleaned up some JSHint stuff
Added basic test runners for programmatic usage