added base template and js file
added and use url name for redirect