Update default.py

fix firebird bug, so that window.location.origin can be used.