Fixed IE8 issues

Signed-off-by: Simon Bailey <simon@newtriks.com>