Little changes so it work on IE