fix typo in defaultOptions 'maxPetternLength' => 'maxPatternLength'

I'm assuming this wasn't on purpose. Caught a couple other little typos while I was at it.

This does leave out any updates to the minified file, there's no build included so wasn't sure you're preferred compressor/options for that.