Updates for IE8 and and vars

Fixes #1.