Remove the unused directories in JS engine for Mac Installer.