JS compiler fixes.