JavaScript scope and Inheritance part two