js issue fix