added javascript to page2