fix script tag on index