Remove lodash dependency

Replace lodash function calls with native & jQuery alternatives.  In most cases these will be faster.