Poll for resource loading on the client side rather than the server side