fix undefined attribute error that stopped the tool working in IE8
Merge pull request #125 from frabcus/ie8-languages-fix

fix undefined attribute error that stopped the tool working in IE8