Changed Object.create to new Object to support ie6+