Update translate. Added JSON to functions.js and ajax.py. Update views.py