Fill libs declarations. Make refactoring for target.js module