Update global js