fix silly js issue