minor refactoring
Merge pull request #1 from rjhunter/jshard-develop

minor refactoring