Fix global.js Set Titlt Function