fix js error in old IE's
Merge pull request #20 from justmarkup/master

fix js error in old IE's