Fix js script loading