Added ajax call to notify server of location changes