made phantom rendering MUCH faster, moved lodash dependency to index.js, other changes