Added JSHint items
Modified code be testable and wrote tests
Merge branch 'feature/reduce-complexity' into develop