two menu pages added and some js files structured