Added routing feature to new copied app1.js because it still doesn't work.