Update base.html

more js magic enabled