changes js references to local versions