local class references fixed for static analysis
direct .hasOwnProperty() call eliminated from host in .promise()
readme update