Rework base.html included js path and give id search to the q input for seach page