Include Function.inherit() in main js file