Update closure-compiler.js

Handle empty directories