Allow for passing of custom config object
Change var declaration to satisfy JSHint
Merge pull request #10 from hybridgroup/pass-custom-config

Allow for passing of custom config object