updated getter / setter definition to match current es5 standard.