Updating route to get json data
Adding AJAX method for sending coordiates to server
Grabbing both x and y position from ajax