Basic jQuery code to abstract using the proxy