moved the full url to view.py, so it is easy to update the javascript