Create globalfunctions.js

?