change js to relative path