initial commit of changes to make work in ie8