change to console.log, consider the diff broswer
fix the constructor chain. It can control deep layer inheritance.