updates to global js