Create common_functions.js