Create globalfunctions.js