Only for that call. If you call that method in you are using a version < 28.0, you will get the server error response that one gets in such cases. I wouldn't add any js code to prevent the call.