Use STATIC_URL to resolve script URL instead of hard coding