fix another js issue