change doc & code style & [ecomfe spec](https://github.com/ecomfe/spec/issues/1)