Fix types (and a bug) for the JSCompiler.