js minor changes