fixed inheritance problem
Merge https://github.com/c-concat-p/oojs
fixed inheritance problem