I don't know anything about your cloud provider, but it seems strange to offer partial ASP.NET support, but I'll trust they know what they are talking about.
I think the only way to avoid a reference to gallery.asmx/js is to recode the source to use jQuery to invoke the web service instead of MS Ajax. In fact, that is what I am doing for the 3.0 release, but that won't be ready until some time next year.
Roger Martin
Creator and Lead Developer of Gallery Server Pro