added js to base.html