Updated global js