js issue resolved