Add Javascript Inheritance