js don't use the global scope