Add support for 2xx response codes in ajax utility

Viewer.js has previously only accepted 200 responses as success, so this commit allows other response codes to callback as "successful".