Fix CommonJS support

Relative dependency support