add base template and jquery