FIXED: server can parse data into json response.JS sends data in POST, sends and resceives JSON. TODO: js needs to handle json reply
JS: now handles JSON. TODO: server has list of tags. use to return relevant links