added javascript for welcome page