Recursively traverses a directory and minifies all JavaScript files in the directory or its child directories.