fixed js syntax error with extern @:initPackage classes with empty package