封装(模拟对象)
http://www.ruanyifeng.com/blog/2010/05/object-oriented_javascript_encapsulation.html
继承
http://www.ruanyifeng.com/blog/2010/05/object-oriented_javascript_inheritance.html
用第二种方法继承