FIXED: added http:// to url in ajax call. JS sends data to server and server correctly reads. TODO: output of server isn't making it back to JS