Fix global variable by declaring x
Attach resize event with addEventListener
remove global variable
Change baseline method to add margins instead of max-height
Merge pull request #16 from zmmbreeze/master

Remove global variable x
Merge pull request #11 from vsr/master

Attach resize event with addEventListener
Merge Vanilla and jQuery versions

The Vanilla JS version and the jQuery/Zepto version can now be used
through the same script. This makes it easier for people to use while
also increasing maintainability.

The README was updated alongside.