support relative path in script src