fixed validation for ie8
Merge pull request #15 from tonyrd/virgin-new

fixed validation for ie8