fix 'x()' to 'x =' where defineProperty was used