IE8- indexOf, code style
Merge branch 'master' of https://github.com/ecomfe/zrender