Fix js script