scope-safe constructor inheritance problem in advancedFunctions.js
solve scope-safe constructor inheritance problem in advancedFunctions.js