minor changes js