configured server response to application/javascript