deleted the unnecessary function in globs.js