Unstable: javascript error in base.html