Fixes #2 Adding AJAX call to have the location