Changed how JS handles reponses from a 'valid' source