fix super class in JavaScriptSourceGenerator