refactored and optimized a bit more
Merge branch 'master' of https://github.com/ecologylab/BigSemanticsJavaScript