Sorted out my js inheritance questions.