grooming and information hiding

- Included `.jshintrc`
- Moved regex out of instance and cache regex types such that they're not created on every invocation
- Removed instance vars in favor of scope-based information hiding.