Fix #79: Fail if an anonymous class extends js.Any

Still allows anonymous classes that extend js.FunctionN in order to
allow for lambda expressions. Further, allows anonymous classes
extending js.FunctionN to be nested within classes extending
js.Any. This could theoretically be abused to access the this
reference of the outer instance.