js is working half