Closing issue #23 and adding 'autoresize' parameter.

I've closed the issue #23 and I've also added 'autoresize' parameter which makes possible to resize only if you want to (it's 'true' by default).

I've tested all the examples with different settings and they've worked well. There are comments where I've changed things.

I've also updated the minified file by using yuglify compressor.
Merge pull request #24 from rafaelrinaldi/master

Closing issue #23 and adding 'autoresize' parameter.