js minor fix