added a param `logToConsole` that logs the data to the console

- added the param `logToConsole`
- moved all `use strict` to each method except for `logToConsole` to allow octal literals
- updated the readme
- added `.jsbeautifyrc` that matched the current formatting