Rename lib->libs in assets.json and remove the getLibFilePath

use getOneTypeScripts to get a list of files in certain folder.