Changed Some Stuff

Changed ajax call data type to text due to the fact that csv isn't a
valid dataType. Also commented out the part that was throwing a syntax
error because I like my code hints and I don't like errors.