add the CommonFunctions.js file and log