fix script_url_for url bug