added hasOwnProperty check during parsing language syntax