Hotfix/ie8

fixes #1316 and #1317 
@ajaxorg/liskov