(bug fix)- IE8 Object.create not supported error -bug fix