Fairly large refactor. - All options now in object param. - Reduced a number of cases where code reused
Fairly large refactor.
- All options now in object param.
- Reduced a number of cases where code reused

onexdata/trak.js,mrmartineau/trak.js,mrmartineau/trak.js