Fix #1, IE compatibility