update local javascript