adding global js