Added 'text' distinction to jquery call.