better error management when editing wikipedia.
Correct the javascript when there is an error and correct the behaviour of the code when a null result is returned. (done when investigating bug #17630)
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "jocondelab.settings")
from django.core.management import execute_from_command_line
execute_from_command_line(sys.argv)