moved pages to pages folder edit .js