removed gloabl-functions.js