update the base.html again with new javascript