Changed dataType to read correctly results from server.