Fixed IE9 compatibility issues

Signed-off-by: Marcello Angileri <marcelloangileri@gmail.com>