Ie8 fix

Two fixes to load amber in IE8.