Fix uncommenting via AppleScript
Fix compatibility with JavaScript for Automation