prepare 0.4, prototype performance

http://stackoverflow.com/questions/2064731/good-example-of-javascripts-prototype-based-inheritance